#ifndef __GAMING_H
#define __GAMING_H

#include "point.h"

typedef enum {
	PREPARE,
	RUNNING,
	OVER
} GameState;

extern GameState gamestate;

int isWinningMove(PointType board[9], int index, PointType type);

int GetNextAIMove(Point PieceBoard[9]);

#endif
